using QQZiFramework;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace TestProject1
{
    [DBTable(TableName = "system_dept", TreeMode = DBTreeMode.LevelTable)]
    public class SystemDept : ITreeDBEntity
    {
        [DBField(Usage = DBFieldUsage.PrimaryKey,Identity = true)]
        public int Id { get; set; }
        [DBField(Usage = DBFieldUsage.ForeignKey, ForeignTable = "system_dept", ForeignProperty = "Id")]
        public int parent_id { get; set; }
        public string Name { get; set; }
        
        [DBField(FieldName ="create_time")]
        public DateTime CreateTime{get;set;}
         

    }
}




